<?php

namespace app\common\model;

use think\Model;

/**
 * 文档基础模型
 */
class Config extends Model
{
    protected $auto = [];
    protected $insert = ['status','create_time','update_time'];
    protected $update = ['update_time'];

    protected function setCreateTimeAttr(){
        return time();
    }
    protected function setUpdateTimeAttr(){
        return time();
    }
    protected function setStatusAttr(){
        return 1;
    }
}
